/* 
@font-face {
  font-family: "goodFontFamily";
  src: url("../assets/神韵畅游体.ttf");
} */

.letter-spacing {
  letter-spacing: 2px;
}

.sm-size {
  font-size: 0.9rem;
}

.bulletAbsolute {
  position: absolute;
  z-index: 10;
}

@keyframes bullet {
  0% {
    transform: translateY(0);
  }
  90% {
    transform: translateY(-900px);
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px);
    opacity: 0;
  }
}
/* 红心特效css */
.heartWrap {
  position: absolute;
  z-index: 10;
}

.heart {
  position: absolute;
  background-color: #faa;
  animation: heartMove 1s linear infinite;
  animation-iteration-count: 1;
  animation-delay: var(--delay, 0);
  animation-fill-mode: forwards;
  transform-origin: center;
  opacity: 0;
  /* transition: all 1s linear; */
}

.heart:before,
.heart:after {
  position: absolute;
  content: "";
  left: 6px;
  top: 0;
  width: 6px;
  height: 10px;
  background: inherit;
  border-radius: 15px 15px 0 0;
  transform-origin: 0 100%;
  transform: rotate(-45deg);
}

.heart:after {
  left: 0;
  transform-origin: 100% 100%;
  transform: rotate(45deg);
}

.late0 {
  --lateX: -0px;
  --delay: 0.2s;
}

.late1 {
  --lateX: -10px;
  --delay: 0.1s;
}

.late2 {
  --lateX: -20px;
}

.late3 {
  --lateX: 10px;
  --delay: 0.3s;
}

.late4 {
  --lateX: 20px;
  --delay: 0.4s;
}

@keyframes heartMove {
  0% {
    transform: scale(0.5);
    opacity: 0.1;
  }

  50% {
    transform: scale(1) translate(var(--lateX, 0px), -100px);
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}
